#!/bin/sh /etc/rc.common
# Copyright (C) 2008 OpenWrt.org
START=95
USE_PROCD=1

reload_service() {
	restart_service
}

start_service() {
	procd_open_instance
	procd_set_param command /usr/sbin/fcgiwrap -s unix:/var/run/fcgiwrap.sock -g www-data -p /www/cgi-bin/luci
	procd_set_param respawn
	procd_close_instance
}
